<template>
<div>
    <div  class="company">{{company}}</div>
</div>
</template>
<script setup>
import {ref} from 'vue';

import {postCompany} from '../api/index.js'
const company = ref('')
postCompany('https://d941b892-db01-4b40-b8ac-4dd0901f822f.bspapp.com/apis/wuye/pub/about').then(res=>{
			console.log(res.data.rows[0].text)
            company.value = res.data.rows[0].text
		})
		.catch(err=>{
			console.log(err.data)
		})
</script>
<style scoped>
.company{
    font-size: 15px;
    color: grey;
display: flex;
box-sizing: border-box;
padding: 0 10px;

}
</style>